package com.sakila.service;

import java.util.List;

import com.sakila.pojo.Member;
import com.sakila.pojo.Payment;
import com.sakila.pojo.Staff;
import com.sakila.vo.BarChartVo;

public interface RentalService {
	boolean isCustomerRentable(Member member);
	/**
	 * 
	 * @return if film is not rentable, return this filmId, else return 0
	 */
	int addRental(Integer[] filmIds, Staff staff, Integer memberId, List<Payment> payments);
	List<BarChartVo> getTop5HotCategories();
	List<BarChartVo> getTop10HotFilms();
}
